/* Main */
body {
    margin: 0;
    padding: 0;
    font-family: Bahnschrift, sans-serif;
    background-color: #ffffff;
    color: #333;
    text-decoration: none;
}

a{
    text-decoration: none;
}
a:visited {
    color: blue;
}

.product-card a:visited {
    color: blue;
}

/* TopNav */
.dropdown a:visited {
    color: #7e7e7e;
}

.dropdown-content a:visited {
    color: black;
}

.topnav {
    background-color: #ffffff;
    top: 0;
    text-align: center;
}

.topnav a {
    float: initial;
    color: #7e7e7e;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

.topnav a:hover {
    background-color: #ffffff;
    color: #000000;
}

.topnav a.active {
    background-color: #ffffff;
    color: white;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #38444d;
    display: flex;
}

li a:hover, .dropdown:hover .dropbtn {
    background-color: red;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 999;
    transition: 0.3s ease;
}

.dropdown-content a {
    color: #ededed;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    transition: 0.3s ease;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Menü  */
.product-section {
    padding: 20px;
    max-width: 1200px;
    margin: auto;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.product-card {
    position: relative;
    background: #fff;
    border-radius:  8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
    overflow: hidden;
    width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-card > a {
    text-decoration: none;
}

.image-container {
    width: 220px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 220px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.product-info {
    text-align: center;
    border-bottom: none;
}

.product-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #000;
}

.product-info .brand {
    font-size: 14px;
    color: #666;
}

.product-info .price {
    font-size: 16px;
    color: #e60000;
    font-weight: bold;
}

.product-image img {
    width: 200px;
    height: auto;
    border-radius: 10px;
}

.product-container {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 600px;
    margin: auto;
}

.add-to-cart {
    width: 100%;
    padding: 10px;
    background: #ffffff;
    color: #000000;
    text-align: center;
    font-size: 14px;
    border: none;
    cursor: pointer;
}

.add-to-cart:hover {
    background: #ffffff;
    color: rgb(29, 142, 0);
}

.favorite-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgb(237, 237, 237);
    border: none;
    cursor: pointer;
    border-radius: 100%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #7e7e7e;
    transition: background 0.2s;
}

.favorite-btn:hover {
    background: rgba(255, 255, 255, 1);
}
/* Main CSS */
body {
    margin: 0;
    padding: 0;
    display: flex;
}

.content {
    width: 90%;
    margin: auto;
    padding: 10px;
    text-align: left;
    height: max-content;
}

a.header {
    color: #000000;
    text-decoration: none;
    position: relative;
    text-align: center;
}

h1 {
    margin: 20px 0;
    text-align: center;
}

h2 {
    color: #000000;
}

h3 {
    color: #ffffff;
}

/* Login.html */
.login {
    width: 600px;
    background-color: rgb(255, 255, 255);
    margin: 20px auto;
    border-radius: 15px;
    padding: 10px 20px;
    border: 2px solid #000000;

}

button {
    background-color: #ffffff;
    color: #000000;
    padding: 14px 20px;
    margin: 8px 0;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    transition: 0.3s ease;
}

input {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: flex;
    border: 1px solid #ccc;
    box-sizing: border-box;
}


/* Login en Register buttons van Main */
.login-button,
.auth-buttons .button {
    background-color: #ffffff;
    color: #7e7e7e;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    transition: 0.3s ease;
}

.login-button {
    position: absolute;
    top: 20px;
    right: 20px;
}

.login-button a:hover,
.auth-buttons .button:hover,
button:hover {
    background-color: #ffffff;
    color: #000000;
}

.auth-buttons {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.header {
    text-decoration: none;
    color: white;
    font-size: 2em;
    font-family: "Fleur De Leah", cursive;
    font-weight: 400;
    font-style: normal;
    top: 0;
}

a{
    text-decoration: none;
}

img {
    width: 192px;
    height: 108px;
    border-radius: 7px;
}

/* Table */
table {
    font-family: Bahnschrift, sans-serif;
    border-collapse: collapse;
    width: 100%;
    color: white;
}

td, th {
    border: 1px solid #000000;
    text-align: left;
    padding: 8px;
}

tr:nth-child(even) {
    background-color: #ffffff;
}

/* Style The Dropdown Button */
.dropbtn {
    background-color: Transparent;
    color: #7e7e7e;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content a {
    color: black;
}

.dropdown:hover .dropbtn {
    color: #000000;
    background-color: white;
}

footer{
    border-top: 2px black;
}
.announcement-bar {
    background-color: #ffffff;
    color: #000000;
    font-size: 14px;
    text-align: center;
    width: 90%;
}

.logo{
    position: relative;
}

.form-group{
    border: 2px solid #000000;
    padding: 14px 20px;
    margin: 8px 0;
    border-radius: 5px;
}

.cart-section{
    border: 2px solid #000000;
    padding: 14px 20px;
    margin: 8px 0;
    border-radius: 5px;
}

.cart-items{
    border: 2px solid #000000;
    padding: 14px 20px;
    margin: 8px 0;
}

.cart-item.image-container {
    width: 110px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
